/*
 * @Author: huangtianyang 916072572@qq.com
 * @Date: 2022-12-09 09:33:50
 * @LastEditors: huangtianyang
 * @LastEditTime: 2023-08-28 16:12:00
 * @FilePath: \cxl-admin\src\store\sessionStorage.ts
 */
export const storage = {
    set(key: string, value: string) {
        sessionStorage.setItem(key, value)
    },
    get(key: string) {
        return sessionStorage.getItem(key) ?? ''
    },
    remove(key: string) {
        sessionStorage.removeItem(key)
    },
    clear() {
        sessionStorage.clear()
    }
}
